-
Notifications
You must be signed in to change notification settings - Fork 206
feature: Add pin/unpin feature for side and bottom panels #503
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
This reverts commit 58a612b.
powerdragonfire
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice feature! Add to Demo too so others can use, as well as making sure its appearing on API Docs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why removing version?
| }; | ||
| document.addEventListener("pointerdown", onBodyPointerDown); | ||
| return () => document.removeEventListener("pointerdown", onBodyPointerDown); | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not all code is resolving a path @Ralalu - check recent commit here: https://github.com/powerdragonfire/flexycakes
Add return () => {} with error log.
powerdragonfire
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.

Overview
This pull request introduces a pin/unpin feature for the side (left/right) and bottom panels in the FlexLayout library. It allows users to keep panels permanently visible ("pinned") or collapse them automatically ("unpinned"), similar to behavior in modern IDEs and dashboard layouts.
Motivation
Screenshot
